<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TestBat.Frontend.Controllers.ViewData.Test.IntroductionViewData>" %>
<%@ Import Namespace="TestBat.Frontend.Helpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server">
	Introduction
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <p style="margin: 5px; padding: 10px; border: 1px solid #CCCCCC; line-height: 1.4em; background-color: #EEEEEE; font-size: 1.2em;"><% if (Model.Schedule.Introduction.Length == 0)
          { %>
            Would you like to take this test now?
       <% }
          else
          { %>
            <%= Model.Schedule.Introduction%></p>
       <% } %>
    
    <p style="text-align: center; margin-top: 10px">
        <span style="padding: 20px"><%= Html.ImageLink("Test", "Test", new { scheduleID = Model.Schedule.ID }, "~/Styles/Icons/16x16/check.png", "Take")%></span>
        <span style="padding: 20px"><%= Html.ImageLink("Schedules", "Overview", null, "~/Styles/Icons/16x16/cancel.png", "Cancel")%></span>
    </p>

</asp:Content>
